package com.ruoyi.wb.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维保申请对象 wb_maintain_apply
 *
 * @author ruoyi
 * @date 2024-10-14
 */
@Data
@ApiModel(value = "WbMaintainApply", description = "维保申请实体")
public class WbMaintainApply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 id */
    @ApiModelProperty(value = "主键 id")
    private Long id;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    @ApiModelProperty(value = "申请人姓名")
    private String name;

    /** 性别(1 男,2 女) */
    @Excel(name = "性别(1 男,2 女)")
    @ApiModelProperty(value = "性别(1 男,2 女)")
    private Long gender;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private Long phoneNumber;

    /** 业主公司 id */
    @Excel(name = "业主公司 id")
    @ApiModelProperty(value = "业主公司 id")
    private Long ownerCompanyId;

    /** 业主公司名称 */
    @Excel(name = "业主公司名称")
    @ApiModelProperty(value = "业主公司名称")
    private String ownerCompanyName;


    /** 申请用户 id */
    @Excel(name = "申请用户 id")
    @ApiModelProperty(value = "申请用户 id")
    private Long applyerId;

    /** 申请用户名称 */
    @Excel(name = "申请用户名称")
    @ApiModelProperty(value = "申请用户名称")
    private String applyerName;

    /** 预约上门时间 */
    @Excel(name = "预约上门时间")
    @ApiModelProperty(value = "预约上门时间")
    private String makeDate;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setGender(Long gender) {
        this.gender = gender;
    }

    public Long getGender() {
        return gender;
    }

    public void setPhoneNumber(Long phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Long getPhoneNumber() {
        return phoneNumber;
    }

    public void setOwnerCompanyId(Long ownerCompanyId) {
        this.ownerCompanyId = ownerCompanyId;
    }

    public Long getOwnerCompanyId() {
        return ownerCompanyId;
    }

    public void setOwnerCompanyName(String ownerCompanyName) {
        this.ownerCompanyName = ownerCompanyName;
    }

    public String getOwnerCompanyName() {
        return ownerCompanyName;
    }

    public void setApplyerId(Long applyerId) {
        this.applyerId = applyerId;
    }

    public Long getApplyerId() {
        return applyerId;
    }

    public void setApplyerName(String applyerName) {
        this.applyerName = applyerName;
    }

    public String getApplyerName() {
        return applyerName;
    }

    public void setMakeDate(String makeDate) {
        this.makeDate = makeDate;
    }

    public String getMakeDate() {
        return makeDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("gender", getGender())
                .append("phoneNumber", getPhoneNumber())
                .append("ownerCompanyId", getOwnerCompanyId())
                .append("ownerCompanyName", getOwnerCompanyName())
                .append("applyerId", getApplyerId())
                .append("applyerName", getApplyerName())
                .append("makeDate", getMakeDate())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}